#ifndef ABSTRACTEDITOR_H
#define ABSTRACTEDITOR_H

#include <QObject>
class AbstractObject;

class AbstractEditor : public QObject
{
    Q_OBJECT
    friend class EditorManager;
public:
    explicit AbstractEditor(QObject *parent = 0);
    ~AbstractEditor();
    
    virtual void activate();
    virtual void deactivate();
protected:
    int m_nIndexInStack;
    QPointer<QWidget> m_view;
    virtual bool init() = 0;
signals:
    
public slots:
};

#endif // ABSTRACTEDITOR_H
